package com.ddwl.schema.vo.goods;

import com.ddwl.schema.vo.base.BaseVo;
import com.ddwl.schema.vo.order.SeckillItemVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/8/28 16:36
 */
@ApiModel(description = "子商品Vo")
@Setter
@Getter
public class SkuVo extends BaseVo {

    @ApiModelProperty("子商品ID")
    private String id;
    @ApiModelProperty("多规格商品描述信息")
    private String itemSpecs;
    @ApiModelProperty("商品ID")
    private String itemId;
    @ApiModelProperty("小图标url")
    private String imageUrl;
    @ApiModelProperty("媒体资料")
    private ItemMediaVo medias;
    @ApiModelProperty("零售价")
    private BigDecimal retailPrice;
    @ApiModelProperty("商品状态")
    private Integer skuStatus;
    @ApiModelProperty("商品编码")
    private String barcode;
    @ApiModelProperty("商品库存")
    private Integer stock;
    @ApiModelProperty("商品实际库存")
    private Integer realStock;
    @ApiModelProperty("成本价")
    private BigDecimal factoryPrice;
    @ApiModelProperty("sku预估佣金")
    private BigDecimal itemCommission;
    @ApiModelProperty("秒杀锁定数量")
    private Integer lockStock;
    @ApiModelProperty("秒杀信息")
    private SeckillItemVo seckillItemVo;
    @ApiModelProperty("排序值")
    private Integer indexNum;

}
